﻿using System;
using System.Linq;

    class IntDoubleOrString
    {
        static void Main(string[] args)
        {
            Console.Write("Enter 1 for int, 2 for double and 3 for string: ");
            string input = Console.ReadLine();

            switch (input)
            {
                case "1":
                    {
                        int a = int.Parse(Console.ReadLine());
                        a++;
                        Console.WriteLine(a);
                        break;
                    }
                case "2":
                    {
                        int b = int.Parse(Console.ReadLine());
                        b++;
                        Console.WriteLine(b);
                        break;
                    }
                case "3":
                    {
                        string s=Console.ReadLine();
                        s +='*';
                        Console.WriteLine(s);
                        break;
                    }
                default:
                    break;

            }
        }
    }

